package user;
import book.List.bookList;
import operation.IOoperation;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:岁亮亮
 * Date:2024-01-08
 * TIME:21:15
 */
public abstract class User {
    protected String name;
    protected IOoperation[] iOoperations;

    public User(String name) {
        this.name = name;
    }
    public void Dooperation(int choice,bookList bookList){
         iOoperations[choice].work(bookList);

    }

   public abstract int menu();


}
